package com.wish.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class LogDto extends Page{
    /**
     * 日志表
     */
    private String username;

    private String operation;

    private String method;

    private String params;

    private Long time;

    private String ip;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createDate;
}
